SftTree/NET 2.0

LastSibling Property, ItemClass Class

Softel vdm, Inc.

Returns the item's last sibling item.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property LastSibling As ItemClass

C#   

public ItemClass LastSibling { get; }

C++   

public: property ItemClass^ LastSibling {
        ItemClass^ get();
}

Property Value

The item's last sibling item or null/Nothing if there is no sibling item.

Comments

The LastSibling property returns the item's last sibling item.

The last sibling of the item is found by scanning towards the end of the tree control and locating an item on the same level (ItemClass.Level property) as the current item without encountering a parent item.

The returned item may be same same item as the current item, indicating that the item is the last dependent owned by the parent item (Parent property).


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com